package com.dyypdadmin.service;

import com.dyypdadmin.pojo.Users;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UsersService {

    int addUser( String username, String phone, String password, String address);

    Users getUserByUsernameAndPassword(String username,String password);

    List<Users> getAllUser();

    int updateUserInfo(Users users);

    List<Users> getUserInfoByUsername(@Param("username")String username);

    int getUserCounts();

    int updatePwdByUserId(Users users);
}
